From: LLVM Packaging Team Date: Mon, 9 Jan 2017 20:24:17 +0000 (+0000) Subject: lldb-link-atomic X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~5^2~31 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=23cf00c525b3894b658aeedfbdf7bd6eb6b1a8ea;p=llvm-toolchain-3.8.git lldb-link-atomic =================================================================== Gbp-Pq: Name lldb-link-atomic.diff --- diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index ff10216b..02959354 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -192,6 +192,10 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD)) # Link in python LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel -lpthread LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) + ifneq (,$(filter $(shell dpkg-architecture -qDEB_HOST_ARCH), mips mipsel powerpc powerpcspe)) + # Link GCC atomic helper library + LLVMLibsOptions += -latomic + endif endif ifeq ($(HOST_OS),FreeBSD)